import pyautogui
import time
point=[
    (450,52) ,#0地址栏
    (1480,448) #1 登录按钮

]
pic=[
    "2023-10-24_162934.png",# 登录按钮
    "2023-10-24_170634.png",# 账号
    "2023-10-24_170709.png",# 确认
    "2023-10-24_170722.png",# 密码错误
    

]
def clk(index=0):
    pyautogui.click(point[index][0],point[index][1])
def gp(index=0):
    pyautogui.moveTo(point[index][0],point[index][1],duration=1)
if __name__ == "__main__":
    clk(0)
    pyautogui.doubleClick()
    pyautogui.typewrite("www.2-class.com")
    time.sleep(0.1)
    pyautogui.press("enter")
